package com.itgungnir.designpattern.singleton.hunger;

public class Test {
	public static void main(String[] args) {
		new Thread(new Runnable() {
			@Override
			public void run() {
				HungerSingleton.getInstance().introduce();
			}
		}).start();

		new Thread(new Runnable() {
			@Override
			public void run() {
				HungerSingleton.getInstance().introduce();
			}
		}).start();

		new Thread(new Runnable() {
			@Override
			public void run() {
				HungerSingleton.getInstance().introduce();
			}
		}).start();

		new Thread(new Runnable() {
			@Override
			public void run() {
				HungerSingleton.getInstance().introduce();
			}
		}).start();

		new Thread(new Runnable() {
			@Override
			public void run() {
				HungerSingleton.getInstance().introduce();
			}
		}).start();
	}
}